#!/usr/bin/env node
import { readFile } from 'fs/promises';
const file = process.argv[2];
async function main() {
  //import {readFile} from 'fs/promises';
  try{
  //const file = process.argv[2]; 
  const content = await readFile(file,'utf8');
  console.log(content);}catch(e){
    console.error(e.message);
}
main();
